package pl.mchaniewski.ryneczek.services;

import java.util.List;

import pl.mchaniewski.ryneczek.pojo.Company;
import pl.mchaniewski.ryneczek.pojo.Index;

public interface IndexService {

    public Index save(Index entity);

    public boolean remove(Index entity);

    public List<Index> findAll();

    public Index findByName(String name);

    public Index createNewIndex(String name);

    public boolean isCompanyInIndex(String[] indices, Company company);

}
